package cn.legend.travel.guide.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class GuideDetailVO implements Serializable {
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("用户等级")
    private Long level;
    @ApiModelProperty("文章标题")
    private String title;
    @ApiModelProperty("文章发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date  createTime;
    @ApiModelProperty("文章浏览量")
    private Long viewCount;
    @ApiModelProperty("文章收藏数")
    private Long likeCount;
    @ApiModelProperty("文章评论数")
    private Long commentCount;
    @ApiModelProperty("旅游出行时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date travelTime;
    @ApiModelProperty("出行天数")
    private Integer TravelDays;
    @ApiModelProperty("人物（同行人）")
    private String TravelPartner;
    @ApiModelProperty("人均消费")
    private String consumptionPerPerson;
    @ApiModelProperty("功略详细内容")
    private String contentDetails;
    @ApiModelProperty("旅游地点名称")
    private String destinationId;
    @ApiModelProperty("旅游图片")
    private String travelImg;
}
